<div class="col-lg-12">
    <div class="widget clear">
        <div class="widget-heading clearfix">
            <h3 class="widget-title pull-left">权限管理</h3>
        </div>
    </div>
</div>
<div class="col-md-12">
    <div class="widget">
        <table id="order-table" cellspacing="0" width="100%" class="table table-hover mb-0 dt-responsive nowrap">
            <thead>
            <tr>
                <th style="width:16%">权限名称</th>
                <th style="width:16%">css样式</th>
                <th style="width:20%">控制器名称</th>
                <th style="width:20%">控制器方法</th>
                <th style="width:15%">操作</th>
            </tr>
            </thead>
            <tbody>
            {foreach $auth as $val}
            <tr>
                <td>{$val->name}</td>
                <td>
                    {$val->css_icon}
                </td>
                <td>{$val->controller}</td>
                <td>{$val->action}</td>
                <td><button type="button" class="btn btn-xs btn-info">修改</button> <button type="button" class="btn btn-xs btn-danger">删除</button></td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>
</div>